Open
Conversation
c1f9892 to
96e3c79
Compare
96e3c79 to
f69e624
Compare
Fuzzes the CPython _collections C module (Modules/_collectionsmodule.c) plus the OrderedDict C implementation (Objects/odictobject.c). Dispatches per input across four targets: _count_elements() over a fuzzed latin-1 string; collections.deque with an optional maxlen running up to 30 mixed operations (append/appendleft, pop/popleft, extend/extendleft, rotate, reverse, count/index/remove with random-typed values to reach error paths, clear, copy, rich comparison against a second deque, and list/len/bool iteration); defaultdict(int) driven through increment/access/contains/pop on reused short keys to hit both __missing__ and hit paths; and OrderedDict exercised via set, pop, move_to_end, popitem, key listing, and reversed iteration — with fuzzed last= flags to drive the internal linked-list reordering logic.
f69e624 to
b0a808f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fuzzes the CPython _collections C module (
Modules/_collectionsmodule.c) plus theOrderedDictC implementation (Objects/odictobject.c). Dispatches per input across four targets:_count_elements()over a fuzzed latin-1 string; collections.deque with an optional maxlen running up to 30 mixed operations (append/appendleft,pop/popleft,extend/extendleft,rotate,reverse,count/index/removewith random-typed values to reach error paths, clear, copy, rich comparison against a second deque, and list/len/bool iteration);defaultdict(int)driven through increment/access/contains/pop on reused short keys to hit both__missing__and hit paths; andOrderedDictexercised viaset,pop,move_to_end,popitem, key listing, and reversed iteration — with fuzzed last= flags to drive the internal linked-list reordering logic.